package com.dlnu.shoping.shopping.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.dlnu.shoping.shopping.common.Result;

public interface ILoginService {
    public Result login(String username, String password);
    public Result addUser(String username, String password, String nickname);
    public Result delUser(Integer userId);
    public Result changePassword(Integer userId, String newPassword, String oldPassword);
    public Result queryUserList(String username);
    public Result queryUserList2(String username, String nickname);
    public Result queryUserCount(String username);
    public Result queryUserPage(String username, Integer pageNo,Integer pageSize);
    public Result queryUserPage2(String username, String nickname, Integer pageNo,Integer pageSize);
}
